﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Program03
{
    class Program
    {
        static void Main(string[] args)
        {
            var math = new Math();
            math.Value = 2;
            Console.WriteLine("{0}的平方等于{1}", math.Value, math.GetSquare());

            Console.WriteLine("{0}的平方等于{1}", 4, Math.GetSquareOf(4));
            Console.ReadLine();
        }
    }
}
